package cn.candy.sys.service.impl;

import cn.candy.basic.service.impl.BaseServiceImpl;
import cn.candy.sys.domain.DictionaryDetail;
import cn.candy.sys.mapper.DictionaryDetailMapper;
import cn.candy.sys.service.IDictionaryDetailService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;


/**
 * 数据字典细节业务实现类
 */
@Service
public class DictionaryDetailServiceImpl extends BaseServiceImpl<DictionaryDetail> implements IDictionaryDetailService {

    @Autowired
    private DictionaryDetailMapper dictionaryDetailMapper;

    @Override
    public List<DictionaryDetail> findDetailsByTypeId(Long typdId) {
        return dictionaryDetailMapper.findDetailsByTypeId(typdId) ;
    }
}
